package com.block.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.block.db.common.vo.BaseUserInfoVo;
import com.block.db.entity.ProductInfo;
import com.block.db.entity.ProductMemberUnion;
import com.block.product.model.dto.ProdUnionDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2022-07-31
 */
public interface IProductMemberUnionService extends IService<ProductMemberUnion> {

    String getUnionProductByUserId(Long userId, Long productId);

    boolean updateInfo(ProductMemberUnion memberUnion);

    ProdUnionDTO findProductUnionMatchResult(ProductInfo productInfo, BaseUserInfoVo userInfoVo);

}
